package com.chixing.day20.day20_Home;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class TransRecord {

    private String custNum;
    private String custName;
    private String JobNum;
    private String Gender;
    private String userName;
    private LocalDateTime creatTime;
    private BigDecimal cash;

    public TransRecord() {
    }

    public TransRecord(String custNum, String custName, String jobNum, String gender, String userName, LocalDateTime creatTime, BigDecimal cash) {
        this.custNum = custNum;
        this.custName = custName;
        JobNum = jobNum;
        Gender = gender;
        this.userName = userName;
        this.creatTime = creatTime;
        this.cash = cash;
    }

    public String getCustNum() {
        return custNum;
    }

    public void setCustNum(String custNum) {
        this.custNum = custNum;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getJobNum() {
        return JobNum;
    }

    public void setJobNum(String jobNum) {
        JobNum = jobNum;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String gender) {
        Gender = gender;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public LocalDateTime getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(LocalDateTime creatTime) {
        this.creatTime = creatTime;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    @Override
    public String toString() {
        return "TransRecord{" +
                "custNum='" + custNum + '\'' +
                ", custName='" + custName + '\'' +
                ", JobNum='" + JobNum + '\'' +
                ", Gender='" + Gender + '\'' +
                ", userName='" + userName + '\'' +
                ", creatTime=" + creatTime +
                ", cash=" + cash +
                '}';
    }
}
